package com.jy.modules.cims.common.sysUtils;

import java.util.HashMap;
import java.util.Map;

public class SearchParamUtil {
	/**
	 * 返回默认查询参数map
	 * @return Map<String,Object>
	 * @author chenguixue
	 * @date 2015-2-1-下午2:24:33
	 * @update
	 */
	public static  Map<String, Object> getSearchParam() {
		return new HashMap<String, Object>();
	}
	
	/**
	 * 返回查询参数map,并将dtoObj放进map中
	 * @param dtoObj
	 * @return Map<String,Object>
	 * @author chenguixue
	 * @date 2015-2-1-下午2:25:06
	 * @update
	 */
	public static Map<String, Object> getSearchParam(Object dtoObj) {
		Map<String, Object> paramMap = getSearchParam();
    	paramMap.put("dto", dtoObj);
    	return paramMap;
	}
}
